﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Media.Media3D;
using Perspective.Wpf.Controls;
using Perspective.Core.Wpf;
using System.Threading;
using Perspective.Wpf3D.Controls;

namespace Wpf3dCollaborative
{
    /// <summary>
    /// Logique d'interaction pour Menu3d.xaml
    /// </summary>
    public partial class Coeur : ModelVisual3D
    {
        /* Transformation du modéle global */
        public Transformer3D Transformer = new Transformer3D();


        public Coeur()
        {
            Application.Current.Resources.MergedDictionaries.Clear();
             Uri dictionaryUri = new Uri("Media/Objet3D/Models/Coeur.xaml", UriKind.RelativeOrAbsolute);
                ResourceDictionary resourceDictionary = new ResourceDictionary()
                {
                    Source = dictionaryUri,
                };
 
                Application.Current.Resources.MergedDictionaries.Add(resourceDictionary);
            
            InitializeComponent();

            Transform = Transformer.GlobalTransform;
            
        }


    }
}
